package com.miyu.client1.pojo;

import lombok.Data;

import javax.persistence.*;
import java.util.Objects;

@Data
@Entity
@Table(name = "user_table")
public class UserTableEntity {
    @Id
    @Column(name="id" ,nullable = false,length = 32)
    private String id;
    @Column(name = "user_account", nullable = false, length = 50)
    private String userAccount;
    @Column(name = "user_name", nullable = true, length = 50)
    private String userName;
    @Column(name = "user_sex", nullable = true, length = 1)
    private String userSex;
    @Column(name = "user_password", nullable = true, length = 50)
    private String userPassword;
    @Column(name = "user_email", nullable = true, length = 50)
    private String userEmail;
    @Column(name = "user_quen",nullable = true,length = 40)
    private String userQuen;

}
